package com.device.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @Description: 异常数据
 * @Author: jeecg-boot
 * @Date:   2024-12-02
 * @Version: V1.0
 */
@Data
@TableName("qc_data")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)

public class QcData implements Serializable {
    private static final long serialVersionUID = 1L;

	/**主键*/
	@TableId(type = IdType.ASSIGN_ID)

    private String id;
	/**创建人*/

    private String createBy;
	/**创建日期*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private Date createTime;
	/**观察时间*/

	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")

    private Date tt;
	/**设备号*/

    private String snCode;
	/**设备名称*/

    private String deviceName;
	/**设备站名*/

    private String devicePoint;
	/**站台号*/

    private String deviceNo;
	/**异常要素*/

    private String exceptionField;
	/**异常值*/

    private String exceptionValue;
	/**操作值*/

    private String operatingValue;
	/**数据类型*/

    private String dataType;
	/**质控码*/

    private String qcCode;
	/**历史数据ID*/

    private String dataId;
	/**异常原因*/

    private String reason;
}
